import request from '@/utils/request'


//获取
export function getEmployeeListAPI(params) {
    return request({
        url: '/park/sys/user',
        method: 'GET',
        params
    })
}


//删除
export function delEmployeeAPI(id) {
    return request({
        url: '/park/sys/user/' + id,
        method: 'DELETE'
    })
}

//添加
export function addEmployeeAPI(data) {
    return request({
        url: '/park/sys/user',
        method: 'POST',
        data
    })
}

//编辑
export function editEmployeeAPI(data) {
    return request({
        url: '/park/sys/user',
        method: 'PUT',
        data
    })
}